﻿@model List<Knc.Core.ViewModel.CateVModel>
@{
    Layout = null;
}
<div id="menu">
    <ul>
        @foreach (Knc.Core.ViewModel.CateVModel item in Model)
        {
            <li>
                <a href="/Front/Category/Index?CateId=@{@item.CateId}">@item.CateName</a>
                <div>
                    <ul>
                        @foreach (Knc.Core.ViewModel.CateVModel itemChild in item.CateChild)
                        {
                            <li><a href="/Front/Category/Index?CateId=@{@itemChild.CateId}">@itemChild.CateName</a></li>
                        }
                    </ul>
                </div>
            </li>
        }
    </ul>
</div>
